package com.sfy.auth.api;

import com.sfy.auth.entity.AuthUserDTO;
import com.sfy.auth.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * 用户服务feign
 */
@FeignClient("sfy-club-auth")
public interface UserFeignService {


    @RequestMapping("getUserInfo")
    Result<AuthUserDTO> getUserInfo(@RequestBody AuthUserDTO authUserDTO);
}
